package com.guigu.www.erp.common.dao;

import com.guigu.www.erp.common.pojo.SGather;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SGatherMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SGather record);

    int insertSelective(SGather record);

    SGather selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SGather record);

    int updateByPrimaryKey(SGather record);

    List<SGather> getcheckTag0(SGather sGather);

    List<SGather> getAllsGather(SGather sGather);

    String getMaxgatherId();

    int getMaxsGatherprimaryKey();

    List<SGather> getcheckTag1(SGather sGather);

    int ByIdupdatesGatherstoreTag(Integer id);

    List<SGather> getstoreTag2(SGather sGather);

    int ByGatherIdupdatesgatheredAmount(@Param("id") Integer id,@Param("sumAmount") Integer sumAmount);

    List<SGather> getstoreTag3(SGather sGather);

    void updateByPrimaryKeySelective4(SGather sGather);

    List<SGather> getGatherstoreTagGreater2(SGather sGather);
}